package com.yuerlive.rainbow.api;

import com.yuerlive.rainbow.utils.RetrofitUtil;

/**
 * Created by Admin on 2017/5/31.
 */

public class MsgApi {
    public MsgService msgService;

    private MsgApi() {
        msgService = RetrofitUtil.getRetrofit().create(MsgService.class);
    }


    public static MsgApi getInstance() {
        return MsgApi.InnerHolder.sInstance;
    }

    private static class InnerHolder {
        public static final MsgApi sInstance = new MsgApi();
    }
}
